/**
 * Created by BlueCat on 2020/04/23 11:15.
 */
const ua = navigator.userAgent.toLowerCase()

export const isAndroid = /android/.test(ua)

export const isIOS = /ios|iphone|ipad|ipod/.test(ua)

export const isWeChat = /micromessenger/.test(ua)

export const isApp = /qianfan/.test(ua) && window.QFH5

export const isDesktop = !isAndroid && !isIOS
